{extend name="main/index" /}
{block name="main"}

<div class="content-page">
	<div class="content">
		<form action="{:url('admin/Goods/doedit')}" method="post" enctype="multipart/form-data">
			<input type="hidden" value="{$data.id}" name="id">
			<input type="hidden" value="{$data.gid}" name="gid">
			<div class="form-group">
				<img src="/uploads/{$data.icon}" style="width: 100px;">
			</div>
			<div class="form-group">
				<input type="file" name="icon" value="" >
			</div>
			<div class="form-group">
				<label for="exampleInputText1">房型</label>
				<input type="text" class="form-control" id="exampleInputEmail1" name="type" required value="{$data.type}">
			</div>
			<div class="form-group">
				<label for="exampleInputText1">简介</label>
				<input type="text" class="form-control" id="exampleInputEmail1" name="intro" required value="{$data.intro}">
			</div>
			<button type="submit" class="btn btn-default">确认</button>
			<button type="reset" class="btn btn-default">重置</button>
		</form>
	</div>
</div>

{/block}